//
//  DetailModel.m
//  __PRODUCTNAME__
//
//  Created by 曹曹 on 16/08/16
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "DetailModel.h"
#import "DetailData.h"

@implementation DetailModel
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"data"]) {
        _data = [DetailData modelWithDictionary:value];
    }
}
@end
